[1] 2
A minimalist theme for Quarto/Reveal.js presentations for the World Bank
The World Bank
Monday, the 12th of December, 2022
Author 1
Affiliation
Author 2
Affiliation
Author 3
Affiliation
This presentation template accelerates the creation of Reveal.js presentations by taking care of the formatting of your presentations so that users can focus on the content.
Quarto enables you to weave together content and executable code into a finished presentation. To learn more about Quarto presentations see https://quarto.org/docs/presentations/.
This is part of the Quarto documentation.
.Rmd and Quarto documents..Rmd users to switch yet, Quarto’s new features will most likely not be backported to .Rmd.When you click the Render button a document will be generated that includes:
This is part of the Quarto documentation.
When you click the Render button a presentation will be generated that includes both content and the output of embedded code. You can embed code like this:
This is part of the Quarto documentation.
You can also add text marked as code!
{reticulate}You can even render content written in Python directly thanks to the {reticulate} R-package and a Python installation.
Figure 1: A line plot on a polar axis
Adding Latex style equations is straightforward. Here is Euler’s identity:
\[ \begin{equation} e^{i\pi} + 1 = 0 \end{equation} \]
And here is Shepherd’s lemma:
\[ \begin{equation} \frac{P_1 - P_2}{Q_1 - Q_2} > \frac{P_1 - P_3}{Q_1 - Q_3} \end{equation} \]
To make a slide like this, use:
# Title of slide {background-color="#002244"}
Hi!
Use . . . to separate content as an incremental slide!
knitr::kable()| species | n | mean_heigth | mean_mass |
|---|---|---|---|
| Human | 35 | 177 | 83 |
| Droid | 6 | 131 | 70 |
| Gungan | 3 | 209 | 74 |
| Kaminoan | 2 | 221 | 88 |
| Mirialan | 2 | 168 | 53 |
| Twi’lek | 2 | 179 | 55 |
| Wookiee | 2 | 231 | 124 |
| Zabrak | 2 | 173 | 80 |
DT::datatable()With the smaller class in the slide! Ex: ## slide name {.smaller}
gt::gt()| species | n | mean_heigth | mean_mass |
|---|---|---|---|
| Human | 35 | 177 | 83 |
| Droid | 6 | 131 | 70 |
| Gungan | 3 | 209 | 74 |
| Kaminoan | 2 | 221 | 88 |
| Mirialan | 2 | 168 | 53 |
| Twi'lek | 2 | 179 | 55 |
| Wookiee | 2 | 231 | 124 |
| Zabrak | 2 | 173 | 80 |
reactable::reactable()Adding speaker notes is easilz done by creating a slide containing a div with class .notes, e.g.:
## Slide with speaker notes
Slide content
::: {.notes}
Speaker notes go here.
:::
When in presentation mode, you can access the speaker notes by pressing s on your keyboard.
Research is almost always built upon existing knowledge. Acknowledging the latter is therefore key. Quarto allows this bz specifying bibliography: bibfile.bib in the YAML header.
One can then add citations with the @ key (Arrow 1973). To generate the bibliography simply insert a slide with:
## References
::: {#refs}
:::
See the Quarto documentation entry on citations for more details.
Rendering your presentation will create either a self-contained HTML presentation or an HTML file plus a folder with all supporting files needed by your presentation depending on whether embed-resources: is set to true or not in the YAML header.
To present your slides locally, simply open the html file in your favorite browser. Don’t forget to check out the key-bindings by typing ? once your presentation is open in your browser.
Sharing your HTML presentation takes one line of code! Open up a terminal and type the following line to deploy your presentation to Netlify.
quarto publish netlify yourpresentation.qmd
See the Quarto documentation for ways of publishing your presentation.
You can use the function pagedown::chrome_print() to print the HTML version into a PDF!
This presentation and the template it showcases are inspired from the following creators:
Want to go further? Here are some great resources to get you started:
World Bank theme for Quarto Presentations. Code available on GitHub.